<?php
	if (!session_id()) session_start();
	if(!isset($_SESSION['user_id'])) {
		 header("Location: user_login");
		 exit;
	}
?>
<?php
	require_once('header.php');
	require_once('navbar.php');
	require_once('configure/db_fns.php');
	require_once('configure/parameter.php');
	require_once('paganation/page.class.php');
?>
<?php
	$conn = db_connect();
	$conn->query("set names utf8");
	$result = $conn->query("select * from ".$users_info." where user_id='".$_SESSION['user_id']."'");
	if($result) {
		$row = $result->fetch_assoc();
		$collect_cars = $row['collect_cars'];
	}
	
?>
 <div class="usercenter-box">
            <div class="usercenter-box-left">
                <div class="usercenter-box-left-face">
                    <div class="usercenter-box-left-faceimg"><img src="<?php echo $row['img_src']==""?'images/askface.png':$row['img_src'];?>" /></div>
                    <div class="usercenter-box-left-font"><?php echo $row['nickname']==""?$row['user_id']:$row['nickname']; ?></div>
                </div>
                
                <div class="usercenter-box-left-ul">
                    <ul>
                       <?php
					       require_once('usercenter_navbar.php');
					   ?>
                    </ul>

                </div>
            </div>
            
            <div class="usercenter-box-right" id="tab">
                 <ul class="tab_menu">
                    <li class="useselected useleft">我发布的车辆</li>
                    <!--<li>待付款</li>
                    <li>已付款</li>
                    <li>交易关闭</li>
                    <li>交易完成</li>-->
                </ul>


                <div class="tab_box">
                	
                    <div class="tab_box-divb">
                  		<div class="release-box-right-prompt">请致电400-0975-588咨询卖车事宜！</div>
                    </div>
                  <!--  <div class="hidea"></div>
                    	<div class="hidea"></div>
                        <div class="hidea"></div>
                        <div class="hidea"></div>
                     -->
                </div>
           </div>
           
       </div>        
<!--底部-->
<?php
	require_once('footer.php');
?>